const {merge}  = require('webpack-merge')
const {
    resolvePath,
    baseConfig
}  = require('./webpack.basic')

module.exports = merge(baseConfig,{
    mode:'development',
    devtool:'inline-source-map',
    devServer: {
        host:'127.0.0.1',
        port: 9000,
        hot:true,   // 热更新
        open:true   // 运行起来后打开浏览器
    },
})
